package com.authsphere.security.common.handler;

import com.authsphere.common.result.ResponseResult;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.security.core.Authentication;

/**
 * @program: AuthSphere
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/25 21:27
 **/
public class ResponseResultAuthenticationSuccessHandler extends AbstractResponseAuthenticationSuccessHandler {

    @Override
    protected Object extract(HttpServletRequest request, HttpServletResponse response, Authentication authentication) {
        return ResponseResult.ofSuccess();
    }
}
